Skip to content

Conversation

Copy link

Copilot AI commented Jan 27, 2026

Adds -DGLIBC_MIN_VERSION compiler flag to specify minimum GLIBC requirements at build time.

Changes

  • CMakeLists.txt: Sets GLIBC_MIN_VERSION=2.27 for default builds
  • arm.toolchain.cmake: Sets GLIBC_MIN_VERSION=2.35 for ARM32 (armv7l)
  • arm64.toolchain.cmake: Sets GLIBC_MIN_VERSION=2.27 for ARM64 (aarch64)

The preprocessor definition is added to CMAKE_CXX_FLAGS and CMAKE_CXX_COMPILER following existing patterns for flags like -D_FORTIFY_SOURCE=2.

Original prompt

Add the -DGLIBC_MIN_VERSION with 2.27 for CMake file. but for arm32 cmake file make it 2.35


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: adityapatwardhan <12820925+adityapatwardhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add -DGLIBC_MIN_VERSION for CMake files Add GLIBC_MIN_VERSION preprocessor definitions to CMake build Jan 27, 2026
Co-authored-by: adityapatwardhan <12820925+adityapatwardhan@users.noreply.github.com>
Copilot AI changed the title Add GLIBC_MIN_VERSION preprocessor definitions to CMake build Add GLIBC_MIN_VERSION preprocessor definitions for CMake builds Jan 27, 2026
@adityapatwardhan adityapatwardhan marked this pull request as ready for review January 27, 2026 20:30
@adityapatwardhan
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@adityapatwardhan
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@adityapatwardhan
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants